package com.ncist.pojo;

public class Messages {
private String name;
private String wechat;
private String date;
private String content;

    public Messages(String name, String wechat, String date, String content) {
        this.name = name;
        this.wechat = wechat;
        this.date = date;
        this.content = content;
    }

    public Messages() {

    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getWechat() {
        return wechat;
    }

    public void setWechat(String wechat) {
        this.wechat = wechat;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }
    public static void main(String[] args) {
        Messages messages = new Messages();
        System.out.println(messages);
    }
    @Override
    public String toString() {
        return "Messages{" +
                "name=" + name +
                ", wechat'" + wechat + '\'' +
                ", date='" + date + '\'' +
                ", content=" + content +
                '}';
    }
}
